package com.defangit.production.bll;

import com.defangit.production.domain.MaterialsBill;
import laogen.util.entities.Finder;

import java.time.LocalDateTime;

public interface MaterialsBillBll extends CommonBusinessLogic<MaterialsBill>{
    MaterialsBill addBill(MaterialsBill bill,Integer operatorId,Integer processBillId);
    MaterialsBill updateBill(MaterialsBill bill);
    MaterialsBillFinder findAll();
    interface MaterialsBillFinder extends Finder<MaterialsBill> {
        MaterialsBillFinder materialsId(Integer id);
        MaterialsBillFinder materialsNo(String no);
        MaterialsBillFinder operatorId(Integer operatorId);
        MaterialsBillFinder materialsTime(LocalDateTime min,LocalDateTime max);
    }
}
